<?php
include_once("../modules/checkA.php");
include_once("../../config.php"); 

?>
 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php include_once(ROOT_PATH_.'/controlbase/modules/head.php'); ?>
   

	
</head>

<body>

<div id="topbar"><?php include ROOT_PATH_.'/controlbase/modules/topbar.php'; ?></div>

<div id="container" class="member">

    <div id="maincontent">

        <div id="sidebar">
            <?php include ROOT_PATH_.'/controlbase/modules/sidebar.php'; ?>
        </div>


<div id="content"> 




<div class="box add-box layui-form import-add-box">
<h1>导入数据</h1>



<div class="tips">
    <div>1.导入的数据表都有严格的格式要求，请先从系统导出表格，再在其基础上整理资料。</div>
    <div>2.导入的数据将会直接写入数据库，请确保数据格式正确符合要求。</div>
<!--    <div>2.本页面支持使用身份证阅读器读取身份证信息。</div>-->
</div>





<div class="import-download">

<a class="layui-btn" href="../member/detail-list.php?nav-itemed=member" target="_blank">导出学员信息</a>
<a class="layui-btn" href="结业学员表导入格式.xls" target="_blank">结业学员表导入格式</a>
<a class="layui-btn" href="考试结果导入格式.xls" target="_blank">考试结果导入格式</a>
<a class="layui-btn" href="课程表导入格式.xls" target="_blank">课程表导入格式</a>
<a class="layui-btn" href="加油记录导入格式.xlsx" target="_blank">加油记录导入格式</a>
</div>









<!--考试信息导入-->

<?if(in_array("exam1",$quanxian)){?>
<form id="add-form" method="post" action="import-add-exam-function.php?exam=exam1" enctype="multipart/form-data" class="layui-form">
<h2>导入科目一考试信息</h2>
  <div class="layui-form-item">
    <label class="layui-form-label">选择文件<span>*</span></label>
    <div class="layui-input-block">

 <input type="file" name="upfile1" />

    </div>
  </div>
<button class="layui-btn">上传</button>
</form>
        <?;}?>



    <?if(in_array("exam2",$quanxian)){?>

    <form id="add-form" method="post" action="import-add-exam-function.php?exam=exam2" enctype="multipart/form-data" class="layui-form">
        <h2>导入科目二考试信息</h2>
        <div class="layui-form-item">
            <label class="layui-form-label">选择文件<span>*</span></label>
            <div class="layui-input-block">

                <input type="file" name="upfile1" />

            </div>
        </div>
        <button class="layui-btn">上传</button>
    </form>
    <?;}?>




    <?if(in_array("exam3",$quanxian)){?>
    <form id="add-form" method="post" action="import-add-exam-function.php?exam=exam3" enctype="multipart/form-data" class="layui-form">
        <h2>导入科目三考试信息</h2>
        <div class="layui-form-item">
            <label class="layui-form-label">选择文件<span>*</span></label>
            <div class="layui-input-block">

                <input type="file" name="upfile1" />

            </div>
        </div>
        <button class="layui-btn">上传</button>
    </form>
    <?;}?>




    <?if(in_array("exam4",$quanxian)){?>

    <form id="add-form" method="post" action="import-add-exam-function.php?exam=exam4" enctype="multipart/form-data" class="layui-form">
        <h2>导入科目四考试信息</h2>
        <div class="layui-form-item">
            <label class="layui-form-label">选择文件<span>*</span></label>
            <div class="layui-input-block">

                <input type="file" name="upfile1" />

            </div>
        </div>
        <button class="layui-btn">上传</button>
    </form>
    <?;}?>


<!--//考试信息导入-->














<form id="add-form" method="post" action="import-add-course-function.php" enctype="multipart/form-data" class="layui-form">


        <h2>导入开班信息</h2>
        <div class="layui-form-item">
            <label class="layui-form-label">选择文件 </label>
            <div class="layui-input-block">
                <input type="file" name="upfile1" />
            </div>
        </div>
        <button class="layui-btn">上传</button>
</form>













<form id="add-form" method="post" action="import-add-graduate-function.php" enctype="multipart/form-data" class="layui-form">


        <h2>导入结业学员信息</h2>
        <div class="layui-form-item">
            <label class="layui-form-label">选择文件<span>*</span></label>
            <div class="layui-input-block">
                <input type="file" name="upfile1" />
            </div>
        </div>
        <button class="layui-btn">上传</button>
</form>












<form id="add-form" method="post" action="import-add-refueling-function.php" enctype="multipart/form-data" class="layui-form">

        <h2>导入加油记录信息</h2>
        <div class="layui-form-item">
            <label class="layui-form-label">选择文件<span>*</span></label>
            <div class="layui-input-block">
                <input type="file" name="upfile1" />
            </div>
        </div>
        <button class="layui-btn">上传</button>
</form>


 
 

</div>
		
 
 
<!--content端點01-->
</div>
<!--maincontent端點01-->
<br class="clearfloat"/>
</div>
<!--container端點01-->
</div>








<?php include_once('../modules/footer.php'); ?> </body>
</html>
